package com.hejie.videoservice.dto;

import lombok.Data;

import java.time.LocalDateTime;
import java.util.Map;

@Data
public class VideoEventDTO {
    private String id;
    private Long videoId;
    private Long userId;
    private EventType eventType;
    private LocalDateTime timestamp;
    private Map<String, Object> metadata;

    public enum EventType {
        VIDEO_UPLOADED,
        VIDEO_PROCESSED,
        VIDEO_DELETED,
        VIDEO_VIEWED,
        VIDEO_LIKED,
        VIDEO_COMMENTED,
        VIDEO_STATUS_CHANGED
    }
}